package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 商户员工
 * Created by KGL on 2015/12/2.
 */
@Data
@Table(tableName = "merchant_user")
public class MerchantUserEntity extends MagicDBEntity<MerchantUserEntity> implements Serializable {

    private static final long serialVersionUID = -7636965035091561579L;

    @PrimaryKey
    private long userId;
    @Column
    private String userCode;
    @Column
    private String userName;
    @Column
    private String userPassword;
    @Column
    private Integer userStatus;
    @Column
    private Integer defaultPassword;
    @Column
    private String phone;
    @Column
    private Integer userType;
    @Column
    private String creatorName;
    @Column
    private Date createTime;
    @Column
    private String modifier;
    @Column
    private Date modifyTime;
    @Column
    private long merchantId;
}
